.calculator {
  width: 300px;
  padding: 20px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.input-group {
  margin: 10px 0;
}

input {
  width: 100%;
  padding: 8px;
  background: #333;
  border: 1px solid #444;
  color: #fff;
  border-radius: 4px;
}

.result {
  margin-top: 15px;
  padding: 10px;
  background: #2a2a2a;
  border-radius: 4px;
}

select {
  width: 100%;
  padding: 8px;
  background: #333;
  border: 1px solid #444;
  color: #fff;
  border-radius: 4px;
  margin-top: 5px;
}

/* 优化结果显示样式 */
.result p {
  margin: 8px 0;
  padding: 5px;
  background: #333;
  border-radius: 3px;
} 